import { HIDE_MODAL, HIDE_MODAL_ASYNC, SHOW_MODAL } from '../const/modal.const';

export const show = () => ({type: SHOW_MODAL})
export const hide = () => ({type: HIDE_MODAL})

export const hide_async = payload => ({type: HIDE_MODAL_ASYNC, payload})